import {observable,action} from "mobx"

class homeStore {
    @observable
    homeNum = 0;
    @action
    addNum() {
        this.homeNum += 1;
    }
    @action
    lessNum() {
        this.homeNum -= 1;
    }

}

export default homeStore;
